<template>
    <div>
        <setHeader :title="headTitle" settext="保存" @done="carryout()" :back-fn="gotobtn"></setHeader>
        <div class="pagecontent">
            <textarea name="" id="" class="company_profile" v-model="conttent">全球用户24小时提供全面及时的中文资讯，内容覆盖国内外突发新闻事件、体坛赛事、娱乐时尚、产业资讯、实用信息等，设有新闻、体育、娱乐、财经、科技 .</textarea>
        </div>
    </div>
</template>

<script>
import setHeader from '../public/setHeader';

    export default {
        data() {
            return {
                headTitle: '添加组织架构',
                conttent:''
            }
        },
        components: {
            setHeader
        },
        methods: {
            // 保存
            carryout() {
                this.$emit('done',this.conttent);
            },
            //关闭
            gotobtn() {
                this.$emit('closedone');
            },
        },
        props: ['done', 'closedone']
    }
</script>

<style>
.company_profile {
    width: 100%;
    height: 3.4rem;
    display: block;
    outline: none;
    border: 0;
    font-size: 0.26rem;
    color: #333;
    line-break: 0.36rem;
    padding: 0.2rem;
    box-sizing: border-box;
}
</style>